home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 016a / fansi.zip / FANSICAP.TXT < prev    next >
Text File  |  1987-01-08  |  6KB  |  131 lines

  1. # This is a termcap for FANSI-CONSOLE when FANSI-VT100 is reset.
  2. # When FANSI-VT100 is set, you should use the termcap entry for a VT100.
  3. #
  4. # This should be used with UNIX or UNIX-like utilities.
  5. # It works with communications programs that interface with the console 
  6. # through BIOS or DOS calls.
  7. #
  8. # The comments provided within curly braces must be removed.
  9. # The lines which end with :NO in the comments must also be removed.
  10. # They are provided only for reference. 
  11. #
  12. # Tabbing may not always be done correctly unless MS-DOS program writes
  13. # in RAW mode to console.  Otherwize MS-DOS gets in the way!
  14. # See notes in the manual about this.
  15. #
  16. # Macros are assigned to the cursor and function keys F1-F10 
  17. # to make them recognizable as function keys to UNIX.
  18. # This is because most UNIX systems ignore the nuls which are the first
  19. # part of the normal char sequences generated by these keys.
  20. # Use Alt-Ctrl-Caps to turn the macros on/off if you need to use these keys 
  21. # in your terminal program for menus, etc, and you have problems with them. 
  22. # However, you should only have this problem if you use the communication
  23. # program menus or exit the communication program in the middle of your
  24. # connection to your UNIX host computer.
  25. #
  26. # This termcap was written by:
  27. # Mark Hersey
  28. # Hersey Micro Consulting, Inc.
  29. # P.O. Box 8276
  30. # Ann Arbor, MI USA 48107
  31. # (313) 994-3259
  32. #
  33. # This termcap is NOT copyrighted. 
  34. # Therefore you may legally enter it into any termcap files, with or without
  35. # editing changes, without specific permission or renumeration.
  36. #
  37. # Hersey Micro-Consulting's FANSI-CONSOLE
  38. #
  39. fc|fansi|fconsole|Hersey Micro Consulting's FANSI-CONSOLE:\
  40.     :al=\E[L:\        {al=Add Line}
  41.     :AL=\E[%dL:\        {AL=Add Lines}
  42.     :am:\            {am=Automatic Margins: unless WRAP off}
  43.     \            {bc=BackspaCe:NO}
  44.     :bs:\            {bs=BackSpace char works}
  45.     :bt=\E[Z:\        {bt=BackTab}
  46.     :cd=\E[J:\        {cd=Clear to end of Display}
  47.     :ce=\E[K:\        {ce=Clear End of line}
  48.     :cl=\E[H\E[J:\        {cl=CLear screen and home}
  49.     :cm=\E[%i%d;%dH:\    {cm=Cursor Motion}
  50.     :co#80:\        {co=COlumns on screen}
  51.     :cr=^M:\        {cr=Carriage Return}
  52.     \            {cs=Change Scrolling region:NO, use al,dl instead}
  53.     \            {da=Display retained Above:NO}
  54.     \            {db=Display retained Below:NO}
  55.     :dc=\E[P:\        {dc=Delete Character}
  56.     :DC=\E[%dP:\        {DC=Delete Characters}
  57.     :dl=\E[M:\        {dl=Delete Line}
  58.     :DL=\E[%dM:\        {DL=Delete Lines}
  59.     \            {dm=Delete Mode:NO}
  60.     :do=\E[B:\        {do=cursor DOwn}
  61.     :DO=\E[%dB:\        {DO=cursor DOwns}
  62.     \            {ed=End Delete:NO}
  63.     :ei=\E[4l:\        {ei=End Insert}
  64.     :eo:\            {eo=Erase Overstrikes: with blanks?}
  65.     \            {hc=Hard Copy:NO}
  66.     \            {ho=HOme:NO, use cm instead}
  67.     \            {hz=HaZeltine terminal:no tildes:NO}
  68.     :ic=\E[@:\        {ic=Insert Char}
  69.     :IC=\E[%d@:\        {IC=Insert Chars}
  70.     :im=\E[4h:\        {im=Insert Mode}
  71.     \            {in=INsert mode:distinguishes nulls:NO}
  72.     \            {ip=Insert Post char:NO}
  73.     :is=\E[>0;'G';27;'[H'p\E[>0;'H';27;'[A'p\E[>0;'K';27;'[D'p\E[>0;'M';27;'[C'p\E[>0;'P';27;'[B'p\E[>0;';';27;'OP'p\E[>0;'<';27;'OQ'p\E[>0;'=';27;'OR'p\E[>0;'>';27;'OS'p\E[>0;'?';27;'OT'p\E[>0;'@';27;'OU'p\E[>0;'A';27;'OV'p\E[>0;'B';27;'OW'p\E[>0;'C';27;'OX'p\E[>0;'D';27;'OY'p:\    {is=Init String}
  74.     :kd=\E[B:\        {kd=Keypad Down}
  75.     \            {ke=Keypad End:NO}
  76.     :kh=\E[H:\        {kd=Keypad Home}
  77.     :kl=\E[D:\        {kl=Keypad Left}
  78.     :kr=\E[C:\        {kr=Keypad Right}
  79.     \            {ks=Keypad Start}
  80.     :ku=\E[A:\        {ku=Keypad Up}
  81.     :k1=\EOP:\        {k1=Key f1}
  82.     :k2=\EOQ:\        {k2=Key f2}
  83.     :k3=\EOR:\        {k3=Key f3}
  84.     :k4=\EOS:\        {k4=Key f4}
  85.     :k5=\EOT:\        {k5=Key f5}
  86.     :k6=\EOU:\        {k6=Key f6}
  87.     :k7=\EOV:\        {k7=Key f7}
  88.     :k8=\EOW:\        {k8=Key f8}
  89.     :k9=\EOX:\        {k9=Key f9}
  90.     :k0=\EOY:\        {k0=Key f0}
  91.     :LE=\E[%dD:\        {LE=cursor LEfts}
  92.     :li#25:\        {li=LInes on screen}
  93.     \            {ll=Lower Left, use cm instead}
  94.     :mb=\E[5m:\        {mb=Make Blink}
  95.     :md=\E[2m:\        {md=Make Dull}
  96.     :me=\E[m:\        {me=Make Exit}
  97.     :mh=\E[1m:\        {mh=Make High intensity}
  98.     :mi:\            {mi=Move in Insert mode: OK}
  99.     :mk=\E[8m:\        {mk=Make Koncealed}
  100.     :mr=\E[7m:\        {mr=Make Reversed}
  101.     :ms:\            {ms=Move in Standout:OK}
  102.     :nd=\E[C:\        {nd=Non-Destructive space}
  103.     :nl=^J:\        {nl=New Line}
  104.     \            {nc=No Carriage return:NO}
  105.     \            {ns=No Scroll:NO}
  106.     \            {os=Over Strike:NO}
  107.     \            {pc=Pad Char:NO}
  108.     :rc=\E[u:\        {rc=Restore Cursor}
  109.     :RI=\E[%dC:\        {ri=cursor RIghts}
  110.     :rs=\E[>0;'G';0;'G'p\E[>0;'H';0;'H'p\E[>0;'K';0;'K'p\E[>0;'M';0;'M'p\E[>0;'P';0;'P'p\E[>0;';';0;';'p\E[>0;'<';0;'<'p\E[>0;'=';0;'='p\E[>0;'>';0;'>'p\E[>0;'?';0;'?'p\E[>0;'@';0;'@'p\E[>0;'A';0;'A'p\E[>0;'B';0;'B'p\E[>0;'C';0;'C'p\E[>0;'D';0;'D'p:\    {rs=Reset String}
  111.     :sc=\E[s:\        {sc=Save Cursor}
  112.     :se=\E[27m:\        {se=Standout mode Exit, restore color?}
  113.     :sf=\ED:\        {sf=Scroll Forward}
  114.     :so=\E[7m:\        {so=StandOut mode, use color if you have it}
  115.     :sr=\EM:\        {sr=Scroll Reverse}
  116.     :ta=\E[I:\        {ta=TAb char}
  117.     :te=\E[>0;'G';0;'G'p\E[>0;'H';0;'H'p\E[>0;'K';0;'K'p\E[>0;'M';0;'M'p\E[>0;'P';0;'P'p\E[>0;';';0;';'p\E[>0;'<';0;'<'p\E[>0;'=';0;'='p\E[>0;'>';0;'>'p\E[>0;'?';0;'?'p\E[>0;'@';0;'@'p\E[>0;'A';0;'A'p\E[>0;'B';0;'B'p\E[>0;'C';0;'C'p\E[>0;'D';0;'D'p:\    {te=Terminal End}
  118.     :ti=\E[>0;'G';27;'[H'p\E[>0;'H';27;'[A'p\E[>0;'K';27;'[D'p\E[>0;'M';27;'[C'p\E[>0;'P';27;'[B'p\E[>0;';';27;'OP'p\E[>0;'<';27;'OQ'p\E[>0;'=';27;'OR'p\E[>0;'>';27;'OS'p\E[>0;'?';27;'OT'p\E[>0;'@';27;'OU'p\E[>0;'A';27;'OV'p\E[>0;'B';27;'OW'p\E[>0;'C';27;'OX'p\E[>0;'D';27;'OY'p:\    {is=Terminal Init}
  119.     :ue=\E[24m:\        {ue=Underscore End}
  120.     :ul:\            {ul=UnderLine: OK}
  121.     :up=\E[A:\        {up=cursor UP}
  122.     :UP=\E[%dA:\        {UP=cursor UPs}
  123.     :us=\E[4m:\        {us=Underscore Start}
  124.     \            {vb=Visible Bell:NO}
  125.     \            {ve=Visual Exit:NO}
  126.     \            {vs=Visual Start:NO}
  127.     \            {xb=XBehive terminal:no esc key:NO}
  128.     \            {xn=XNewline:lf after wrap ignored:NO, unless FANSI-WRAP on}
  129.     \            {xt=XTeleray 1061:desructive tabs:NO}
  130.     \            {xx=XtektroniX insert line:NO}
  131.